package com.hytc.mymall.view;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.GridView;

/**
 * Created by Administrator on 2016/12/2.
 */

public class LineGridView extends GridView
{
    public LineGridView(final Context context) {
        super(context);
    }

    public LineGridView(final Context context, final AttributeSet set) {
        super(context, set);
    }

    public LineGridView(final Context context, final AttributeSet set, final int n) {
        super(context, set, n);
    }

    protected void onMeasure(final int n, final int n2) {
        super.onMeasure(n, MeasureSpec.makeMeasureSpec(536870911, MeasureSpec.AT_MOST));
    }
}
